home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / move / move.dir / 00048.ls < prev    next >
Encoding:
Text File  |  1999-03-05  |  5.9 KB  |  172 lines

  1. on exitFrame
  2.   global currentproject, currentmsg
  3.   if the locH of sprite 4 < -610 then
  4.     set the locH of sprite 4 to 1030
  5.     set the locV of sprite 4 to random(30) + 16
  6.   else
  7.     if the locH of sprite 4 > 1030 then
  8.       set the locH of sprite 4 to -610
  9.     end if
  10.   end if
  11.   if the mouseH > 300 then
  12.     set the locH of sprite 4 to the locH of sprite 4 - (the mouseH / 100)
  13.   else
  14.     set the locH of sprite 4 to the locH of sprite 4 + ((400 - the mouseH) / 100)
  15.   end if
  16.   if the locH of sprite 3 < -1024 then
  17.     set the locH of sprite 3 to 1024
  18.     set the locV of sprite 3 to random(24) + 12
  19.   else
  20.     set the locH of sprite 3 to the locH of sprite 3 - 2
  21.   end if
  22.   if the locH of sprite 5 >= 1024 then
  23.     set the locH of sprite 5 to -700
  24.   else
  25.     set the locH of sprite 5 to the locH of sprite 5 + 1
  26.   end if
  27.   if the locH of sprite 6 < -650 then
  28.     set the locH of sprite 6 to 1024
  29.   else
  30.     set the locH of sprite 6 to the locH of sprite 6 - 4
  31.   end if
  32.   if the locH of sprite 7 > 1024 then
  33.     set the locH of sprite 7 to -850
  34.   else
  35.     set the locH of sprite 7 to the locH of sprite 7 + 3
  36.   end if
  37.   if the locH of sprite 8 >= 1024 then
  38.     set the locH of sprite 8 to -930
  39.     set the locV of sprite 8 to random(45) + 12
  40.   else
  41.     if the locH of sprite 8 < -930 then
  42.       set the locH of sprite 8 to 1024
  43.     end if
  44.   end if
  45.   if the mouseH > 400 then
  46.     set the locH of sprite 8 to the locH of sprite 8 + (the mouseH / 100)
  47.   else
  48.     set the locH of sprite 8 to the locH of sprite 8 - ((600 - the mouseH) / 100)
  49.   end if
  50.   if the locH of sprite 10 < -930 then
  51.     if currentmsg < the number of lines in field "msgsource" then
  52.       set currentmsg to currentmsg + 1
  53.     else
  54.       set currentmsg to 1
  55.     end if
  56.     set the member of sprite 10 to member string(line currentmsg of field "msgsource")
  57.     set the locH of sprite 10 to 800
  58.     set the locV of sprite 10 to random(20) + 531
  59.   end if
  60.   set the locH of sprite 10 to the locH of sprite 10 - 3
  61.   set the locH of sprite 21 to the locH of sprite currentproject
  62.   if the mouseV < 531 then
  63.     set the locH of sprite 21 to -50
  64.     go("loop1")
  65.   else
  66.     go(the frame)
  67.   end if
  68.   if the mouseH > 550 then
  69.     set the locH of sprite 18 to the locH of sprite 18 - (the mouseH / 100)
  70.   else
  71.     if the mouseH < 20 then
  72.       set the locH of sprite 18 to the locH of sprite 18 + ((20 - the mouseH) / 5)
  73.     else
  74.       set the locH of sprite 18 to the mouseH * -1
  75.     end if
  76.   end if
  77.   repeat with j = 59 to 79
  78.     set the locH of sprite j to the locH of sprite 18 + 63 + ((j - 59) * 48)
  79.   end repeat
  80.   if rollOver(59) then
  81.     showrollover(59)
  82.   else
  83.     if rollOver(60) then
  84.       showrollover(60)
  85.     else
  86.       if rollOver(61) then
  87.         showrollover(61)
  88.       else
  89.         if rollOver(62) then
  90.           showrollover(62)
  91.         else
  92.           if rollOver(62) then
  93.             showrollover(62)
  94.           else
  95.             if rollOver(63) then
  96.               showrollover(63)
  97.             else
  98.               if rollOver(64) then
  99.                 showrollover(64)
  100.               else
  101.                 if rollOver(65) then
  102.                   showrollover(65)
  103.                 else
  104.                   if rollOver(66) then
  105.                     showrollover(66)
  106.                   else
  107.                     if rollOver(67) then
  108.                       showrollover(67)
  109.                     else
  110.                       if rollOver(68) then
  111.                         showrollover(68)
  112.                       else
  113.                         if rollOver(69) then
  114.                           showrollover(69)
  115.                         else
  116.                           if rollOver(70) then
  117.                             showrollover(70)
  118.                           else
  119.                             if rollOver(71) then
  120.                               showrollover(71)
  121.                             else
  122.                               if rollOver(72) then
  123.                                 showrollover(72)
  124.                               else
  125.                                 if rollOver(73) then
  126.                                   showrollover(73)
  127.                                 else
  128.                                   if rollOver(74) then
  129.                                     showrollover(74)
  130.                                   else
  131.                                     if rollOver(75) then
  132.                                       showrollover(75)
  133.                                     else
  134.                                       if rollOver(76) then
  135.                                         showrollover(76)
  136.                                       else
  137.                                         if rollOver(77) then
  138.                                           showrollover(77)
  139.                                         else
  140.                                           if rollOver(78) then
  141.                                             showrollover(78)
  142.                                           else
  143.                                             if rollOver(79) then
  144.                                               showrollover(79)
  145.                                             else
  146.                                               set the locH of sprite 20 to -50
  147.                                               set the locH of sprite 21 to -50
  148.                                               set the member of sprite 105 to line 58 of field "project"
  149.                                             end if
  150.                                           end if
  151.                                         end if
  152.                                       end if
  153.                                     end if
  154.                                   end if
  155.                                 end if
  156.                               end if
  157.                             end if
  158.                           end if
  159.                         end if
  160.                       end if
  161.                     end if
  162.                   end if
  163.                 end if
  164.               end if
  165.             end if
  166.           end if
  167.         end if
  168.       end if
  169.     end if
  170.   end if
  171. end
  172.